<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta name="author" content="lushu">
		<title>累积交易报表</title>
		<script type="text/javascript" language="javascript" src="../script/common.js"></script>
		<script type="text/javascript" language="javascript" src="../script/common_stat.js"></script>
		<script type="text/javascript" language="javascript">
			var Page;
			function initPageElements(){
				Page.statSets = Page.orgSpec.STAT_CLASS.BENDAITA;
				Page.tradeType = Constants.TRADE_TYPE_ACCUMULATE;
				//Page.accountType = AccountType.FUND;
				//Page.useOrg = true;
				
				Page.tradeTypeSpec = function(temp,orgLevel){
					temp.measures = {point:"积分",pointCost:"积分成本",count:"交易数"};
					temp.dimensions.accountType = "帐户类型";
					temp.dimensions.activityId = "活动名称";
					temp.defaultHorizon.activityId = true;
					if (orgLevel==Constants.ORG_LEVEL_HQ)
						temp.defaultMeasure = {point:true,pointCost:true};
					else{
						temp.defaultMeasure = {point:true,pointCost:true,count:true};
					}
				};
			}
		</script>
	</head>
	<body onload="PivotPage.init();" >
		<div class="nav"><div id="nav">&nbsp;</div></div>
		<div id="queryView" class="form">
			<div class="formTitle">累积交易报表：查询条件</div>
			<form id="statForm" name="statForm">
				<table width="100%" cellspacing="0" cellpadding="4">
					<tr>
						<td colspan="2">
							<label>报表类型</label> 
							<span id="statClass"></span>
						</td>
					</tr>
				</table>
				<div id="stat_btn"></div>
			</form>
		</div>
		<!--统计结果显示部分-->
		<div id="pivotView" style="display:none;"></div>
	</body>
</html>
